/*河南星辰软件科技有限公司
@copyright Copyright (c) 2010~2022 All rights reserved.
*/
package cn.javaxc.crm.action.sale.contacts;
import java.io.*;
import java.util.*;
import java.sql.*;
import cn.javaxc.model.base.SQL;
import cn.javaxc.model.base.SQLList;
import cn.javaxc.model.base.SQLMap;
import cn.javaxc.model.base.SQLParam;
import cn.javaxc.model.page.BatisPage;
import cn.javaxc.mvcwork.controller.web.TreeBean;
import cn.javaxc.mvcwork.util.common.CommonUtil;
import cn.javaxc.mvcwork.util.common.MapListUtil;
import cn.javaxc.mvcwork.util.helper.FrameHelper;
import cn.javaxc.mvcwork.util.helper.TreeTableHelper;
import org.springframework.beans.factory.annotation.Autowired;
import cn.javaxc.system.action.base.BaseAction;
import cn.javaxc.crm.mapper.sale.contacts.PotentialContactsMessMapper;
public class PotentialContactsMess extends BaseAction
{
    @Autowired(required=false)
	private PotentialContactsMessMapper mapper;
    /**
    潜在客户联系人短信
    */
    
    public Map potentialContactsMess() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        SQLList<SQLMap> s_note=mapper.s_note(params,pagination);
        s_note.setPagedListInfo(pagination);
        result.put("s_note", s_note);
        
        return result;
    }
    /**
    短信选择电话
    */
    
    public Map potentialContactsChoicePNB() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        SQLList<SQLMap> s_phone=mapper.s_phone(params);
        result.put("s_phone", s_phone);
        
        return result;
    }
    /**
    */
    
    public Map d_note() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        mapper.d_note(params);
        
        return result;
    }
    /**
    潜在客户联系人短信修改
    */
    
    public Map potentialContactsMessSubmit() {
        
        Map result=new HashMap();
        SQLParam params=new SQLParam(request,result);
        
        mapper.potentialContactsMessSubmit(params);
        
        return result;
    }
}